[#escape x as (x)!?html]
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="${resource}/static/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="${resource}/static/plugins/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="${resource}/static/css/main.css">

<script src="${resource}/static/plugins/es6-promise-polyfill/promise.min.js"></script>
<script src="${resource}/static/plugins/axios/dist/axios.min.js"></script>

<script src="${resource}/static/plugins/jquery/jquery.min.js"></script>
<script src="${resource}/static/plugins/bootstrap/bootstrap.bundle.min.js"></script>
<script src="${resource}/static/plugins/jquery/js.cookie.min.js"></script>
<script src="${resource}/static/plugins/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="${resource}/static/plugins/jquery-validation/dist/additional-methods.js"></script>
<script src="${resource}/static/plugins/jquery-validation/dist/localization/messages_zh.js"></script>
<script src="${resource}/static/plugins/jquery-serializejson/jquery.serializejson.min.js"></script>
<script src="${resource}/static/plugins/jquery-validation/dist/jquery-validation-bootstrap4.js"></script>
<script src="${resource}/static/js/main.js"></script>
[/#escape]
<script>
      const accessApi = "${api}";
      const accessSiteId = "${site.id?c}";
      (function () {
        const siteFlow = document.createElement("script");
        siteFlow.src = "${resource}/static/js/siteFlow.js";
        const script = document.getElementsByTagName("script")[0];
        script.parentNode.insertBefore(siteFlow, script);
      })();
 </script>